GBML manual / Constants

ROOM_LAYER_ALL

No one layer: the whole screen. It is what screen_blend and screen_mosaic mean when they are given no layer, so a call that never names a layer works exactly as it always did.

Game Boy: not available

Game Boy Color: not available

Sega Genesis: not built yet

On other consoles this differs: see Side by side and How the consoles differ.

Syntax

ROOM_LAYER_ALL: constant

Description

Names no one layer: the whole screen. It is what the optional last argument of screen_blend and screen_mosaic means when it is left out, so writing it is the same as writing nothing. It does nothing for a call that asks for one particular layer, such as room_layer_visible.

Example

screen_mosaic(MOSAIC_BLOCKS, 2, 0, ROOM_LAYER_ALL);

Makes everything you marked blocky turn into blocks, the same as screen_mosaic(MOSAIC_BLOCKS, 2, 0).

See also: ROOM_LAYER_MAINROOM_LAYER_FRONTROOM_LAYER_BACKscreen_blendscreen_mosaic